Part Number Hot Search : 
F4007 CD4020 PWR1222C IRF1405Z MC9S0 HCF4010 HZS153 PTGT5
Product Description
Full Text Search
 

To Download CXD1958Q Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  mmds tcm/qam demodulator + fec + adc description the CXD1958Q is an integrated tcm/qam demodulator for mmds systems using the davic mmds standard. this highly integrated device incorporates an internal 8-bit adc, image rejection and root-raised cosine filters, all-digital symbol timing recovery pll, adaptive decision feedback equalizer (dfe) with 10 feedforward and 30 feedback taps, 4-d tcm decoder, and davic/dvb compliant forward error correction comprising (204,188) reed solomon decoder, a programmable de-interleaver with i = 12 and i = 204, and a de-randomiser. all internal clocks are generated from a single external 30mhz reference crystal. device functionality also includes 3-wire bus interface for configuring up to 2 tuner synthesizers, a sigma delta tuner if-agc output, a user programmable rf- afc sigma delta output, spectrum inversion of the received signal for tuner compatibility, and a highly configurable mpeg2-ts interface. an i 2 c bus interface provides on-board configuration and status monitoring of various functions including access to the equalizer tap values and constellation points. jtag provides boundary scan test compatibility. features davic mmds v1.1 and v1.3 compliant supports 16, 64 and 256qam supports 16, 64 and 256 tcm internal 8-bit adc interface for 10-bit external adc 36.125mhz nominal if input symbol rate range 5 ?5.304mbaud in 6mhz channels integrated matched filtering with 0.15 roll-off factor 400khz internal carrier offset compensation with negligible losses @ 5mbaud 6mhz channel symbol timing loop designed to acquire with large offsets. negligible losses for 100ppm offsets all internal clocks derived from single fixed frequency crystal (30mhz) supports fast re-acquisition mode 6s echo cancellation @ 5mbaud constellation points and equalizer tap values readable via i 2 c bus c/n estimation readable via i 2 c bus low implementation loss for awgn only: 0.5db @ 64qam (using internal 8-bit a/d); 0.3db @ 256qam (excluding a/d); measured at ber of 3x10 ? pre r/s i = 12 and i = 204 de-interleaving fast i 2 c bus compatible control interface tuner if-agc output user programmable tuner rf-agc output dedicated 3-wire bus interface to configure up to 2 tuner synthesizers 3.3v cmos technology supports jtag boundary scan 100-pin qfp package applications mmds set-top boxes ?1 pe99906-ps sony reserves the right to change products and specifications without prior notice. this information does not convey any licens e by any implication or otherwise under any patents or other right. application circuits shown, if any, are typical examples illustr ating the operation of the devices. sony cannot assume responsibility for any problems arising out of the use of these circuits. CXD1958Q 100 pin qfp (plastic) preliminary
? 2 CXD1958Q pin configuration 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4 2 5 8 1 8 2 8 3 8 4 8 5 8 6 8 7 8 8 8 9 9 0 9 1 9 2 9 3 9 4 9 5 9 6 9 7 9 8 9 9 1 0 0 5 0 4 9 4 8 4 7 4 6 4 5 4 4 4 3 4 2 4 1 4 0 3 9 3 8 3 7 3 6 3 5 3 4 3 3 3 2 3 1 t e v a l 9 t e v a l 8 t e v a l 7 t e v a l 6 t e v a l 5 d v d d d v s s t e v a l 4 t e v a l 3 t e v a l 2 t e v a l 1 t e v a l 0 d v d d d v s s t d o t s v a l i d t s l o c k d v d d d v s s t s e r r t s d a t a 7 t s d a t a 6 t s d a t a 5 t s d a t a 4 d v d d 2 6 2 7 2 8 2 9 3 0 8 0 7 9 7 8 7 7 7 6 7 5 7 4 7 3 7 2 7 1 7 0 6 9 6 8 6 7 6 6 6 5 6 4 6 3 6 2 6 1 6 0 5 9 5 8 5 7 5 6 5 5 5 4 5 3 5 2 5 1 d v s s t s d a t a 3 t s d a t a 2 t s d a t a 1 t s d a t a 0 d v s s s c l s d a d v s s d v d d s d a t a s c l k s e n 0 s e n 1 i n t r p t n d v s s t w r _ n t d a t a t c l k t e n t s d i s a b l e d v s s d v d d t s s y n c t s c l k a v s s a v s s d v s s d v d d d v d d d v s s d t c l k a g c r f a g c d v s s d v d d r e s e t n t r s t t d i t m s t c k a 1 a 0 d v d d d v s s v i n v r t v r t s a v d d a v d d a v s s a v d d a v d d v r b s v r b a v d d a v s s a v s s d v s s x t a l i x t a l o d t 9 d t 8 d t 7 d t 6 d t 5 d v s s d v d d d v d d d t 4 d t 3 d t 0 d v d d d t 2 d t 1 fig. 1. pin configuration
? 3 CXD1958Q pin description table 1. pin description name pin no. type drive function xtalo xtali resetn vrts vrt vin vrb vrbs tsvalid tslock tserr tsdata[7:0] 65 66 92 73 74 75 76 77 16 17 20 21, 22, 23, 24, 27, 28, 29, 30 crystal oscillator output crystal oscillator input digital schmitt-trigger 5v tolerant input analog output analog input analog input analog input analog output digital tristate output digital output digital tristate output digital tristate output n/a n/a n/a n/a n/a n/a n/a n/a 4ma 8ma 4ma 4ma crystal oscillator cell output. crystal oscillator cell input. active low hardware reset. adc internally generated top reference bias. this pin connects to vrt to self bias the top reference. adc top reference voltage. connects to vrts for self bias. analog if input. adc bottom reference voltage. connects to vrbs for self bias. adc internally generated bottom reference bias. this pin connects to vrb to self bias the bottom reference. identifies data portion of the mpeg2 transport stream packet (excludes parity bytes). the polarity and timing of this signal is programmable. tristate following hardware reset. external pull- up or pull-down resistor required. mpeg2 transport stream lock indicator. the polarity of this signal is programmable. mpeg2 transport stream error flag. indicates uncorrectable errors in current packet. the polarity and timing of this signal is programmable. tristate following hardware reset. external pull- up or pull-down resistor required. mpeg2 transport stream parallel data output. tristate following hardware reset. external pull-up or pull-down resistor required. clock and reset adc interface mpeg2 transport stream interface
? 4 CXD1958Q name pin no. type drive function tsclk tssync tsdisable agc rfagc ten tclk tdata twr_n sen1 sen0 31 32 35 88 89 36 37 38 39 42 43 digital tristate output digital tristate output digital schmitt-trigger 5v tolerant input digital output digital output digital schmitt-trigger 5v tolerant input digital schmitt-trigger 5v tolerant input digital schmitt-trigger 5v tolerant input digital schmitt-trigger 5v tolerant input digital open-drain output digital open-drain output 4ma 4ma n/a 2ma 2ma n/a n/a n/a n/a 12ma 12ma mpeg2 transport stream byte clock. the polarity and timing of this signal is programmable. tristate following hardware reset. external pull-up or pull- down resistor required. indicates mpeg2 47h sync byte in transport stream packet. the polarity and timing of this signal is programmable. tristate following hardware reset. external pull-up or pull- down resistor required. input to disable mpeg2-ts interface outputs. mpeg2 transport stream output pins tsdata[7:0], tsclk, tssync, tsvalid, tserr to be put into tristate mode if this input is asserted high. the same outputs may also be set tristate via i 2 c bus control. external if agc control. external rf agc control. host cpu control input. can be used to control 3-wire bus outputs sen0 and sen1. host cpu control input. can be used to control 3-wire bus output sclk. host cpu control input. can be used to control 3-wire bus output sdata. host cpu control input used to register ten, tclk, tdata on rising edge and update sen, sclk and sdata outputs in one mode of the 3-wire bus operation. 3-wire bus interface enable output. polarity programmable and equivalent to polarity of sen0. must be pulled up by external resistor to 3.3v or 5v if used. 3-wire bus interface enable output or pass-fet contol for tuner i 2 c bus. programmable polarity. must be pulled up by external resistor to 3.3v or 5v if used. mpeg2 transport stream interface (cont.) tuner interface (control and agc)
? 5 CXD1958Q name pin no. type drive function sclk sdata sda scl a1 a0 intrptn dt[9:0] dtclk trst tdo tdi tms tck teval[9:0] 44 45 48 49 97 98 41 63, 62, 61, 60, 59, 56, 55, 54, 53, 52 87 93 15 94 95 96 1, 2, 3, 4, 5, 8, 9, 10, 11, 12 digital open-drain output digital open-drain output digital bi-directional open-drain output schmitt trigger 5v tolerant input digital schmitt trigger 5v tolerant input digital cmos input digital cmos input digital open-drain output digital bi-directional tristate output 5v tolerant input digital output digital input with pull-up digital tristate output digital input with pull-up digital input with pull-up digital input digital output 12ma 12ma 3ma n/a n/a n/a 12ma i ol = 4ma i oh = ?ma 8ma n/a 4ma n/a n/a n/a 4ma 3-wire bus interface clock output. must be pulled up by external resistor to 3.3v or 5v if used. 3-wire bus interface data output. must be pulled up by external resistor to 3.3v or 5v if used. i 2 c bus data. must be pulled up by external resistor. i 2 c bus clock. must be pulled up by external resistor. i 2 c bus address (variable part) i 2 c bus address (variable part) programmable general interrupt pin. must be pulled up by external resistor to 3.3v or 5v. adc digital bypass port for connection of an external adc. adc clock for use with dt[9:0]. jtag test reset input. jtag test data output. jtag test data input. jtag test mode select. jtag test clock. test data bus. tuner interface (control and agc) (cont.) host control interface testability and evaluation interface
? 6 CXD1958Q name pin no. type drive function dv dd dv ss av ss av dd 6, 13, 18, 25, 33, 46, 51, 57, 64, 84, 85, 91, 99 7, 14, 19, 26, 34, 40, 47, 50, 58, 67, 83, 86, 90, 100 68, 69, 80, 81, 82 70, 71, 72, 78, 79 power ground ground power digital supply. (+3.3v) digital ground. (0v) analog ground. (0v) analog supply. (+3.3v) power supplies
? 7 CXD1958Q description of functions s y m b o l n u m b e r e q u a l i z e d q e q u a l i z e d i s c l k r a m s d a t a s e n 0 s e n 1 t c l k t d a t a t e n x t a l i v i n r e s e t n 3 0 m h z o s c x t a l o r f a g c a g c s c l s d a t m s t c k t d i t d o t s d i s a b l e m p e g - 2 d a t a s y m b o l n u m b e r i q f e c l o s t l o c k s y m b o l v a l i d t s v a l i d t s c l k t s s y n c t s l o c k t s e r r i n t r p t n f e c 3 - w i r e b u s i n t e r f a c e c o n f i g d a t a i 2 c b u s r e g i s t e r i n t e r f a c e j t a g c l o c k & t e s t c o n t r o l s i g m a d e l t a m o d u l a t o r t r e l l i s d e c o d e r 4 0 - t a p e q u a l i z e r p r e - p r o c e s s o r p r e p r o c l o c k a d c d a [ 9 : 0 ] fig. 2. block diagram 1. adc input to the CXD1958Q is a single-ended if signal centred at 36.125mhz. an integrated 8-bit adc is clocked at 30mhz and used to directly band-pass sample the if signal. the 8-bit adc is self biased by connecting reference pins vrts to vrt and reference pins vrbs to vrb. an option is provided to allow bypass of the internal adc if an external converter up to 10 bits is desired. 2. pre-processor and equalizer fig. 3. pre-processor and equalizer block diagram i f t o b a s e b a n d ( i t b ) f r o m a d c t o v g a d i g i t i s e d i f i m a g e / d e c i m a t i o n f i l t e r s d e c i s i o n f e e d b a c k e q u a l i z e r t o f e c d i f f e r e n t i a l d e c o d e r t o t r e l l i s d e c o d e r i n t e r p o l a t o r p r e - p r o c e s s o r e q u a l i z e r m a t c h e d f i l t e r d e c i s i o n d e v i c e e q u a l i z e r a d a p t i o n c a r r i e r r e c o v e r y p l l v a r i o u s c o n t r o l s i g n a l s a u t o m a t i c g a i n c o n t r o l t i m i n g r e c o v e r y p l l d c c o r r e c t i o n
? 8 CXD1958Q 2-1. automatic gain control ?external this block monitors the signal level at the output of the adc and provides a pulse width-modulated control signal (if-agc) to drive an external (analog) variable gain amplifier (vga). the polarity of this signal is i 2 c bus programmable. this circuit operates as an automatic gain control loop and is normally configured to maximize adc dynamic range. only a single external rc filter is required. it is possible to read the level being output on the if-agc signal via i 2 c bus to allow a separate rf-agc sigma-delta output to be programmed for dual loop agc systems. 2-2. if to baseband conversion the if to baseband block translates the received digitized if signal to a complex baseband signal. subsequent processing is performed in parallel on in-phase (i) and quadrature (q) data paths. 2-3. decimation filter sample rate conversion in the decimation filter block is used to optimize the operation of the timing loop over the symbol rate range. 2-4. timing recovery loop symbol timing recovery is implemented using an all-digital pll comprised of interpolator, matched filter and timing recover pll blocks in fig. 3. this allows the sample rate to be unrelated to the symbol rate ?sampling is asynchronous. the loop operates over the range (5 ?5.304) mbaud with minimal performance degradation, surpassing the capability of an equivalent analog loop. the matched filter implements a square-root raised cosine function, matched to the equivalent transmitter filter for rejection of intersymbol interference (isi). 2-5. decision feedback equalizer adaptive equalization is performed using a decision feedback equalizer implementation to remove echoes arising from channel multipath characteristics and any remaining isi not removed by the matched filter in the pre-processor. the dfe filter structure has a feedforward (10 tap) and feedback (30 tap) section. the 30 tap feedback section removes post-cursive isi up to 6ms delay which is sufficiently robust to remove long echoes in mmds. during acquisition of the qam constellation, the adaptive equalizer steps through several modes of operation to achieve lock. the equalizer initially operates using a blind error signal to converge tap coefficients as no training sequence is provided in the qam input data stream. the equalizer then switches to a decision-directed mode of operation where qam data is used to generate the error signal to optimize convergence of tap coefficients. an all-digital pll is implemented for removal of carrier frequency and phase offsets. 2-6. dc correction modulator carrier leakage appears as a dc component in the qam constellation which must be removed before correct decisions can be made in decision device block. the dc correction block completely removes this offset.
? 9 CXD1958Q 2-7. decision device the decision device block performs data slicing and symbol/bit mapping for 16, 64 and 256 qam constellations. this block can also automatically or manually compensate for an inverted if spectrum under i 2 c bus control. modulation scheme recognition can be preset via i 2 c bus for fast acquisition. 2-8. configuration and control configuration and control is handled by a register bank accessible to an external processor over an i 2 c serial bus. a pre-processor state machine controls the initial acquisition process until synchronisation is achieved. once the pre-processor has acquired lock to the input symbol rate the equalizer section is enabled. once enabled, equalizer operation is also controlled by a state machine. once equalizer acquisition is achieved the condition is then maintained based upon acquisition and mode control information, supplied from the configuration registers, and mpeg transport stream status data from the fec block. 3. post-processor post-processing on the demodulated qam/tcm signal implements the davic mmds standard. this includes differential decoding of the two most significant symbol bits (qam mode only), mapping of decoded symbols onto bytes, forney convolutional de-interleaving of the bytes (i = 12, and i = 204) to remove burst errors, reed-solomon (255, 239) error correction, mpeg-2 sync byte inversion and data stream de-randomization. finally a baseband interface is included that provides an mpeg-2 compliant transport stream to the device output. f e c r e g i s t e r b a n k ( f r b ) d i f f e r e n t i a l d e c o d e r r e e d s o l o m o n d e c o d e r e n e r g y d i s p e r s a l r e m o v a l b a s e b a n d i n t e r f a c e b b 3 b b 2 b b 1 b b 0 t r a n s p o r t s t r e a m d a t a t c m d e c o d e r s l i c e d s y m b o l s f r o m e q u a l i z e r u n s l i c e d i q v a l u e s f r o m e q u a l i z e r m - t u p l e m a p p e r & s y n c d e t e c t d e - i n t e r l e a v e r s y n c f l a g s y n c f l a g s y n c f l a g s y n c f l a g l o s t l o c k f l a g i n v e r t e d s y n c f l a g l o c k f l a g b e r f i g u r e s s y n c d e t e c t & l o s s & i s y n c d e t e c t b e r m e a s u r e m e n t fig. 4. post-processor block diagram
? 10 CXD1958Q 3-1. differential decoder in qam mode, this decodes the msb of the received qam signal according to the equations given in the davic mmds standard. in tcm mode, the differential decoding is performed by the tcm decoder block. 3-2. tcm decoder the tcm decoder reduces the signal power required for robust reception in difficult channels whenever trellis coded modulation is used at the transmitter. tcm mode is selected by an i 2 c bus register bit. the tcm decoder block takes the equalized i/q symbols as input data, and provides 7-bit (16-tcm), 11-bit (64-tcm), and 15-bit (256-tcm) outputs for each tcm symbol. two i/q pairs are required for each tcm symbol. the tcm block performs an internal synchronization sequence to ensure that the correct pair of qam symbols is selected. there are several i 2 c bus registers to allow user configuration and monitoring of the synchronization sequence. 3-3. symbol to byte mapper the postprocessor maps differentially decoded symbols to bytes. the byte boundaries are determined by correlating the input symbols with the expected locations of the sync bytes. the number of consecutive successful correlations is compared against a threshold (sync_ladder_length), and the symbol stream is flagged as locked when that threshold is achieved. 3-4. de-interleaver and reed solomon error correction davic compatible forney type convolutional de-interleavering (i = 12, n = 204, m = 17) or (i = 204, n = 204, m = 1), where m = n/i) is applied to the bytes. i = 12 is used for 16/64 qam/tcm modes. either i = 12 or i = 204 can be programmed for 256 qam/tcm modes. the resulting byte stream is corrected by a standard davic/dvb (204, 188) reed solomon decoder (gf generation polynomial p (x) = x 8 + x 4 + x 3 + x 2 + 1) which can correct up to 8 erroneous bytes per mpeg2 packet. 3-5. sync detection and sync loss after r/s correction, the byte stream is checked for the occurrence of n mpeg-2 sync bytes, where n is programmable from 2 to 7 via an i 2 c bus register. this sync byte detection is used to indicate transport stream lock by activation of the tslock pin. there are two methods used to indicate loss of transport stream lock, selectable by an i 2 c bus register. one method indicates loss of lock immediately a sync byte is lost. the other method decrements the sync byte counter down by 1 from n, and only indicates loss of lock when the counter reaches zero, thus providing a filtering capability to allow easier sync locking.
? 11 CXD1958Q 3-6. energy dispersal de-randomiser the error-corrected bytes are de-randomized with a 15-stage prbs (pseudo random binary sequence) generator, with polynomial 1 + x 14 + x 15 and start-up sequence ?00101010000000? sync bytes are not de- scrambled, and when an inverted sync byte is detected, every 8th packet, the prbs resets to the start-up sequence and the sync byte is re-inverted. the de-scrambled data is output through the tsdata pins, along with a data clock and synchronization signal. 3-7. ber calculation in addition to the above functionality, the postprocessor includes comprehensive signal quality measurement logic. the bit error rate (ber) of the received signal (before and after r/s correction) and a measure of the long-term signal quality are available via i 2 c bus registers. the calculated bit error rate (ber) of the received signal is accurate for pre r/s ber figures better than 1 10 ? . 3-8. mpeg2 baseband interface fig. 5 illustrates the relationship between the CXD1958Q mpeg2 transport stream interface signals. the transport stream clock (tsclk) can be programmed for the external device to sample on the rising or falling edge (only rising edge sampling is shown here). the interface supports a number of additional signals, which indicate the integrity of the output data. once the demodulator has achieved lock to the mpeg2 sync byte, the transport stream interface is activated. fig. 5 shows a complete mpeg2 packet consisting of a sync byte (47h) data bytes (dd) and reed solomon bytes (rr). note that all the interface control signals have individual programmable polarity; active high signals are shown in the diagram. tsclk has two operating modes selected via i 2 c bus: whole packet mode, where the clock is activated for all 204 bytes of the packet, requiring the external interface to use tsvalid to distinguish between data and 16 reed solomon bytes. data only mode, where the clock is activated only for each of the 188 sync and data bytes, and remains inactive during the 16 reed solomon bytes. tsdata[7:0] is the byte wide mpeg2-ts data with programmable msb/lsb ordering. the default is tsdata7 being the msb. tsvalid has two operating modes selected via i 2 c bus: data only mode: where tsvalid is set active during the 188 byte data portion of the packet, and reset inactive during the 16 reed solomon bytes. it is used by the external device as a clock enable to qualify when data is valid on tsdata[7:0]. pulsed mode: where tsvalid is set active during the mpeg2 sync byte and reset inactive for the remainder of the packet, and thus becomes equivalent to a sync byte indicator. tssync is set active during the mpeg2 sync byte and reset inactive for the remainder of the packet. tserr is only set active if the transport stream error flag is set. this signal indicates that the reed solomon decoder was unable to correct all errors in the packet. there are 3 programmable modes for this signal: whole packet mode: active during the entire 204-byte packet data only mode: active during the 188 byte data portion of packet and inactive during the 16 reed solomon bytes pulsed mode: pulsed active during sync byte period only
? 12 CXD1958Q r r d d d d d d d d r r r r r r r r d d 4 7 h 4 7 h t s u t s c l k w h o l e p a c k e t t s c l k d a t a o n l y t s d a t a [ 7 : 0 ] t s v a l i d d a t a o n l y t s v a l i d p u l s e d t s s y n c t s e r r w h o l e p a c k e t t s e r r d a t a o n l y t s e r r p u l s e d t h fig. 5. mpeg2 transport stream output configurations 4. tuner 3-wire bus interface the interface allows two tuner synthesizers to be configured through the use of separate sen0 and sen1 enable output signals. the polarity of sen0 and sen1 can be programmed both active high or both active low by the sen_pol i 2 c bus register bit. there are two operating modes selected by i 2 c bus. mode 0 : the host cpu drives the 3-wire bus pins via the cpu interface pins tclk, tdata and ten. these pins are connected to the cpu data bus and a decoded active low strobe is connected to the twr_n input pin. on each rising edge of twr_n, the data on tclk, tdata, and ten is registered by the CXD1958Q demodulator, and driven out on the sclk, sdata and sen0 or sen1 pins respectively. the i 2 c bus register bit sel selects whether sen0 or sen1 is activated during this transfer. thus the transfer rate on the 3-wire bus interface in this mode is determined by the rate of cpu accesses. the operation of this mode is shown in fig. 6.
? 13 CXD1958Q mode 1 :the cpu loads 4 i 2 c bus registers inside the tcm demodulator with 28 bits of data. the cpu selects which sen0 or sen1 output should be used by programming the i 2 c bus register bit (sel), and then commands (by setting an i 2 c bus register bit send) the 3-wire bus state machine to transmit these 28 bits out of the 3-wire interface as shown in fig. 7. when the transmission is complete, the i 2 c bus register bit (send) is reset to zero by the 3-wire bus state machine. this allows the cpu to poll the send bit to determine when it is able to write further data to the 3 i 2 c bus registers if it is necessary to send more data. the rate of transmission is fixed at 10.67 s per bit when using a 30mhz crystal oscillator on the CXD1958Q demodulator ic. the bit ordering of transmission starts with bit 27. t c l k s a m p l i n g o f c p u p i n s t d a t a t e n t w r _ n s c l k s d a t a s e n 0 [ 1 ] fig. 6. 3-wire bus : mode 0 operation 2 7 2 6 2 5 2 4 3 0 5 s 2 3 2 2 2 1 7 6 5 4 3 2 1 0 s c l k s d a t a s e n 0 [ 1 ] fig. 7. 3-wire bus : mode 1 operation
? 14 CXD1958Q 5. i 2 c bus interface the CXD1958Q includes an i 2 c bus compatible host interface, to enable access to the internal control registers. this supports accesses via an offset register at bit rates of up to 400kbit/s. the 7-bit slave address for this device is [0, 0, 1, 1, 1, a1, a0], where a1 and a0 are set externally via device pins. a summary of the CXD1958Q internal register set which can be accessed via i 2 c bus is defined in table 2. a full description of the registers is presented in "control register definitions". table 2. i 2 c bus interface registers sub- address name r/w width bytes description device version/revision information device reset register interrupt source register pre-processor status equalizer status fec status qam level configuration detected frequency offset detected qam level symbol rate at which locked bit error rate estimate codeword reject count interrupt mask register pre-processor configuration external agc control equalizer configuration 0 1 2 3 4 5 6 7 8 9 ?0ah 0bh ?0dh 0eh ?0fh 10h 11h 12h 13h chip_info rst_reg interrupt_source tsmstatus esmstatus fec_status qamconfig carrieroffset detectedqam detectedsymrate ber_est cwrjct_cnt interrupt_mask preconfig agcctrl equconfig r rw rw r r r rw r r r r r rw rw rw rw 1 1 1 1 1 1 1 1 1 2 3 2 1 1 1 1 20h f4h 0 0 01h 10h 84h 0 0 0 0 0 0 89h 0 03h 20h f4h 0 0 01h 10h 84h 0 0 0 0 0 0 89h 03h 20h f1h h/w cold warm value on reset of type
? 15 CXD1958Q sub- address name r/w width bytes description fec configuration symbol rate table entry symbol rate table entry symbol rate table entry symbol rate table entry symbol rate table entry symbol rate table entry symbol rate table entry symbol rate table entry fec sync detect thresholds long term quality threshold bit error rate measurement period not used in this application nominal frequency of receive local oscillator equalizer tap address number in-phase component of equalizer tap quadrature component equalizer tap in-phase equalizer output quadrature-phase equalizer output 14h 15h ?16h 17h ?18h 19h ?1ah 1bh ?1ch 1dh ?1eh 1fh ?20h 21h ?22h 23h ?24h 25h 26h 27h 28h 29h ?2ah 2bh 2ch 2dh 2eh 2fh fec_params symratetrial0 symratetrial1 symratetrial2 symratetrial3 symratetrial4 symratetrial5 symratetrial6 symratetrial7 set_sync_detect lt_qlty_threshold ber_est_period adc_cal_period itbfreq equtapselect equtapi equtapq constellationi constellationq rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw r r r r 1 2 2 2 2 2 2 2 2 1 1 1 1 2 1 1 1 1 1 32h 0aabh 5msym/s 0 0 0 0 0 0 0 1dh 04h 0eh ffh 32efh 36.125mhz 0 0 0 0 0 0aabh 5msym/s 0 0 0 0 0 0 0 1dh 04h 0eh ffh 32efh 36.125mhz 0 0 0 0 0 h/w cold warm value on reset of type
? 16 CXD1958Q sub- address name r/w width bytes description if external gain control integrator output level rf gain control tuner interface control i/f tcm configuration and synchronization control transport stream output control estimate of snr in channel equalizer adaption constant maximum frequency offset carrier loop acquires external gain control target signal level 30h ?31h 32h ?33h 34h ?37h 38h 39h 3ah 3bh 3ch 83h agcifintg rfagc tuner_ctrl tcm_config ts_mode snrestimate lmsmutrack sweeprng agctgt r rw rw rw rw r rw rw rw 2 2 4 1 1 1 1 1 1 0 0 0h abh b4h 0 03h 80h 69h 0 0 0h abh b4h 0 03h 80h 69h h/w cold warm value on reset of type 6. jtag test interface a jtag test interface is provided using the pins tdi, tdo, tms, trst and tck. the interface conforms to the ieee1149.1 standard and provides access to the device boundary scan chain.
? 17 CXD1958Q electrical characteristics 1. absolute maximum ratings (ta = 25 c, avss = 0v, dvss = 0v) digital power supply analog power supply input voltage: ?.3v only input pins input voltage: ?v tolerant input pins output voltage: ?.3v only pins output voltage: ?v tolerant input pins storage temperature pins trst, tdi, tms, tck, a1, a0, vrt, vin, vrb, xtali pins scl, sda, resetn, ten, tclk, tdata, twr_n, tsdisable, dt[9:0] pins teval[9:0], tdo, tvalid, tslock, tserr, tsdata[7:0], tsclk, tssync, xtalo, dtclk, agc, rfagc, vrts, vrbs pins intrptn, sen0, sen1, sclk, sdata, sda, dt[9:0] dvss ?0.5 avss ?0.5 dvss ?0.5 dvss ?0.5 dvss ?0.5 dvss ?0.5 ?5 +4.6 +4.6 dv dd + 0.5 dv ss + 5.5 dv dd + 0.5 dv ss + 5.5 +150 v v v v c dv dd av dd v i v o t stg symbol item condition min. max. unit notes: 1. the device must be operated within the limits of the absolute maximum ratings. if the device is operated outside these conditions, the device may be permanently damaged. 2. functional operation at or outside any of the conditions indicated in the absolute maximum ratings is not implied. 3. exposure of the device to the absolute maximum rating condition for extended periods can affect system reliability. 4. 5v tolerant inputs and outputs are only 5v tolerant while the device power is applied. if no device power is applied there in no protection to 5v levels and the device may be permanently damaged. it is important to observe the conditions for 5v protection when sequencing power supplies in the application. 2. recommended operating conditions digital power supply analog power supply crystal oscillator frequency ambient temperature range dvss = 0v avss = 0v 3.0 3.0 30 0 3.6 3.6 30 +70 v v mhz c dv dd av dd f xtal ta symbol item condition min. 3.3 3.3 typ. max. unit
? 18 CXD1958Q input low voltage input low voltage input high voltage input voltage hysteresis input low current input low current input low current input high current input high current output voltage low output voltage high output voltage high adc bottom reference voltage adc top reference voltage adc input dynamic range supply current except pins scl, sda pins scl, sda pins resetn, tsdisable, ten, tclk, tdata, twr_n, sda, scl vin = dv ss , pins tck, a1, a0 vin = dv ss , pins tms, tdi, trst vin = dvss, pins scl, sda, resetn, ten, tclk, tdata, twr_n, tsdisable, dt[9:0] vin = dv dd , pins trst, tdi, tms, tck, a1, a0 vin = 5.5v, pins scl, sda, resetn, ten, tclk, tdata, twr_n, tsdisable, dt[9:0] i ol = 2ma, pins agc, rfagc i ol = 3ma, pin sda i ol = 4ma, pins tsvalid, tserr, tdata[7:0], tsclk, tssync, dt[9:0], tdo, teval[9:0] i ol = 8ma, pins tslock, dtclk i ol = 12ma, pins sen0, sen1, sclk, sdata, intrptn i oh = ?ma, pins agc, rfagc, dt[9:0] i oh = ?ma, pins tsvalid, tserr, tdata[7:0], tsclk, tssync, tdo, teval[9:0] i oh = ?ma, pins tslock, dtclk i oh = ?ma, pins dt[9:0] vrt connected to vrts and vrb connected to vrbs vrt connected to vrts and vrb connected to vrbs total current av dd + dv dd 0.7dv dd ?0 ?40 ?0 dv dd ?0.4 2.4 0.2dv dd 0.3dv dd ?0 +10 +40 0.4 v v v v a a a a a v v v v v v ma v il v il v ih v hyst i il i il i il i ih i ih v ol v oh v oh v rb v rt v iadc i dd symbol item condition min. 0.5 ?00 0.33dv dd 0.66dv dd 0.33dv dd 330 typ. max. unit 3. dc electrical characteristics 0 c < ta < 70 c, dvss = avss = 0v, 3.0v < dv dd , av dd < 3.6v
? 19 CXD1958Q 4. ac electrical characteristics 4-1. transport stream interface t s d a t a [ 7 : 0 ] t s c l k t s s y n c t s l o c k ( 1 ) ( 3 ) t s v a l i d , t s e r r ( 4 ) ( 2 ) ( 5 ) 0 x 4 7 0 x n n 0 x m m fig. 8. transport stream ac timing table 3. transport stream ac timing parameters 0 c < ta < 70 c, dvss = avss = 0v, 3.0v < dv dd , av dd < 3.6v t xtal , clock period defined by crystal oscillator t tslocksu , tslock valid setup time to tssync, tsvalid and tserr t tsjit , transport stream clock jitter t tssu , transport stream tsdata, tssync, tsvalid and tserr setup time to tsclk active edge t tshd , transport stream tsdata, tssync, tsvalid and tserr hold time from tsclk active edge t tspw , transport stream tsclk pulse width 3 t xtal 2 t xtal 2 t xtal t xtal 2 t xtal ns ns ns ns ns ns 1 2 3 4 5 timing parameter description min. 33.33 typ. max. unit
? 20 CXD1958Q 4-2. tuner 3-wire bus interface ( 6 ) t e n , t c l k , t d a t a t w r _ n ( 7 ) ( 8 ) fig. 9. tuner 3-wire bus mode 0 ac timing table 4. tuner 3-wire bus mode 0 ac timing parameters 0 c < ta < 70 c, dvss = avss = 0v, 3.0v < dv dd , av dd < 3.6v t hcpusu , host cpu ten, tclk, and tdata setup time to twr_n rising edge t hcpuhd , host cpu ten, tclk, and tdata hold time from twr_n rising edge t hcpupw , host cpu twr_n pulse width 10 40 40 ns ns ns 6 7 8 timing parameter description min. typ. max. unit 2 7 ( 1 3 ) ( 9 ) ( 1 0 ) 2 6 2 5 2 4 2 3 2 2 2 1 7 6 5 4 3 2 1 0 s c l k s d a t a s e n 0 [ 1 ] s c l k s d a t a s e n 0 [ 1 ] ( 1 1 ) ( 1 2 ) ( 1 5 ) ( 1 4 ) fig. 10. tuner 3-wire bus mode 1 ac timing
? 21 CXD1958Q table 5. tuner 3-wire bus mode 1 ac timing parameters 0 c < ta < 70 c, dvss = avss = 0v, 3.0v < dv dd , av dd < 3.6v t xtal , clock period defined by crystal oscillator t sensu , 3-wire bus sen0 or sen1 active setup time to sclk rising edge t sdatasu , 3-wire bus sdata setup time to sclk rising edge t sdatahd , 3-wire bus sdata hold time from sclk rising edge t sclkpw , 3-wire bus sclk high pulse width t sclkper , 3-wire bus sclk period t senhd , 3-wire bus sen0 or sen1 hold time active after final sdata bit t senpw , 3-wire bus sen0 or sen1 active pulse width ns ns ns ns ns ns ns ns 9 10 11 12 13 14 15 timing parameter description min. 33.33 192 t xtal 64 t xtal 256 t xtal 64 t xtal 320 t xtal 64 t xtal 9152 t xtal typ. max. unit
? 22 CXD1958Q fig. 11. i 2 c interface ac timing table 6. i 2 c interface ac timing parameters 0 c < ta < 70 c, dvss = avss = 0v, 3.0v < dv dd , av dd < 3.6v f scl , scl clock frequency t sdabuf , bus free time between a stop (p) and start (s) condition t stahd , hold time (repeated) start condition. after this period, the first clock pulse is generated. t scllow , low period of scl clock t sclhigh , high period of scl clock t stasu , setup time for a repeated start condition t sdahd , sda data hold time t sdasu , sda data setup time t stosu , setup time for stop condition 0 1.3 0.6 1.3 0.6 0.6 0 100 0.6 400 0.9 khz s s s s s s ns s 16 17 18 19 20 21 22 23 24 timing parameter description min. typ. max. unit 4-3. i 2 c interface s s r p p ( 1 8 ) ( 1 9 ) ( 2 2 ) ( 2 0 ) ( 2 1 ) ( 2 4 ) ( 2 3 ) ( 1 7 ) ( 1 8 )
? 23 CXD1958Q control register definitions 1. notation addresses and constant values are defined using decimal or hexadecimal numbers. where they are used, hexadecimal numbers are prepended with ?x? register definitions are given in the following format: registername access mode core address default value 7 6 5 4 3 2 1 0 where, registername: name of the register (e.g. equconfig) access mode: read (r), write (w) or read/write (rw) core: which register group it belongs to. address: i 2 c bus address used to access register default value: value after chip reset or software equivalent the most significant bit of each field is positioned to the left. where logical registers occupy more than a single 8-bit physical register (for example where a parameter field requires more than 8 bits of precision) they are defined together and allocated successive (byte) addresses. 2. number format numerical values which can be positive or negative, use 2's complement number format. numerical values which can be only positive, use plain unsigned binary representation.
? 24 CXD1958Q 3. register definitions 3-1. tsmstatus tsmstatus read core address: 0x03 default: 0x00 7 agc locked 6 5 reserved 4 3 2 1 tsm status 0 bits 3 to 0: current state of pre-processor state machine coded as follows: tsm status 0 1 2 3 4 5 6 synchronization state cold reset initialize coarse timing acquisition fine timing acquisition a fine timing acquisition b tracking pre-processor lost lock state identifier rst ini cta fta ftb trk pll bits 3 to 6: reserved bit 7: set by the pre-processor when the agc is in lock. refer to the description of registers agctgt and agclkthr.
? 25 CXD1958Q 3-2. esmstatus esmstatus read core address: 0x04 default: 0x00 7 6 reserved 5 4 3 2 1 0 esm status bits 3 to 0: current state of equalizer state machine coded as follows: bits 4 to 7: reserved esm status 0 1 2 3 4 5 6 7 8 9 10 11 12 synchronisation state reset wait for pre-processor to lock fine gain adjustment blind linear equalisation (1) blind linear equalisation (2) carrier frequency recovery dc correction blind dfe equalisation s&g dfe equalisation dd dfe equalisation check spectral inversion tracking equalizer lost lock state identifier reset wpl fga ble1 ble2 cfr dcc bde sde dde csi trk ell
? 26 CXD1958Q 3-3. qamconfig qamconfig read/write core address: 0x06 default : 0x84 7 256 qam mapping 6 5 reserved 4 256 qam enable 3 128 qam enable 2 64 qam enable 1 32 qam enable 0 16 qam enable bits 0 to 4: clear appropriate bit to prevent the demodulator from attempting to synchronize with the specified qam. the default value is such that lock is only attempted with 64 qam. if more than one qam level is specified the equalizer attempts lock at each of the specified qam levels until lock is achieved. this increases the lock time compared to setting the qam level if known. bits 5 to 6: reserved bit 7: clear this bit to use the dvb 256 qam mapping. the default value of 1 means that, in 256 qam mode, the mmds mapping is used. 3-4. carrieroffset freqoffset read core address: 0x07 default: 0x00 7 6 5 4 3 2 1 0 detected carrier offset bits 0 to 7: holds the detected coarse carrier frequency offset. this is a combination of any frequency offset correction applied in the pre-processor to allow symbol timing lock and the carrier frequency offset detected by the carrier recovery loop in the equalizer. it is encoded as follows: foff = carrieroffset where foff is the frequency offset from the nominal if (or alias) and fs is the adc sample rate (nominally 30mhz). the maximum carrier frequency offset that can be accommodated is currently fixed at 512khz although there may be snr degradation for large offsets depending on the saw filter used. fs 256
? 27 CXD1958Q 3-5. detectedqam detectedqam read core address: 0x08 default: 0x00 7 reserved 6 5 4 3 2 detected qam level 1 0 bits 0 to 3: once the equalizer has lock this register contains the qam level for which the equalizer locked and is decoded as follows: bits 3 to 7: reserved 3-6. detectedsymrate detectedsymrate read core address: 0x09 to 0a default: 0x0 register value 0 1 2 3 4 qam level 16 32 64 128 256 bits 0 to 3 & 0 to 7: holds the last symbol rate at which the timing recovery pll locked and which subsequently lead to valid mpeg packets being decoded by the fec block. this symbol rate is restored as the trial symbol rate when the demodulator performs a hot reset and is encoded as follows: symbolrate = ?fs where fs is the adc sample rate (nominally 30mhz). trialsrate 16384 7 reserved 6 5 4 3 trialsrate 2 1 0 7 6 5 4 3 trialsrate 2 1 0
? 28 CXD1958Q 3-7. preconfig preconfig read/write core address: 0x11 default: 0x89 7 discrete search 6 reserved 5 4 3 adc offset binary 2 adc external 1 agc hold 0 hot reset bit 0: when set this enables a hot reset when the fec block indicates that it has lost sync. this causes the pre-processor state machine to resume operation at a point where it can exploit prior knowledge of the received signal format gained whilst the chip was in lock. specifically, a hot reset causes the psm to restore values for if carrier frequency offset and symbol rate used when the fec last indicated that valid mpeg code words were being received. this facility is provided to minimize the time required for re-acquisition of sync in applications using a single symbol rate and can only be invoked from the state where the demodulator once had lock and subsequently lost it. bit 1: set to hold the agc output at its current value following a warm reset rather than being reset to mid-range. this may reduce agc acquisition times following a channel switch if signal levels are similar. bit 2: set to select the output of an external a/d converter for connection to the pre-processor instead of the (default) internal a/d. bit 3: the signal processing elements of the pre-processor assume 2? complement data is being supplied. setting this bit inverts the top bit of the adc output, converting the data format from offset binary to 2? complement. bits 4 to 6: reserved bit 7: set to enable a symbol rate search at the discrete frequencies specified in the table symbratetrial0 ?symbratetrial7. in this mode, the pre-processor attempts to recover symbol synchronization at the specified symbol rates only. if lock is not achieved within the time limit specified by ctatimeout acquisition is attempted at the next frequency.
? 29 CXD1958Q 3-8. agcctrl agcctl read/write core address: 0x12 default : 0x00 7 reserved 6 5 4 3 2 invert agc 1 agc time constant 0 bits 0 to 1: this controls the time constant of the agc loop. the hardware reset value of 0 disables the agc. a nominal setting of 2 should be programmed following power-up. this will allow the pwm average output to slew from its mid-range value to full scale in approximately 11ms. a setting of 1 doubles the time constant to 22ms and 3 halves it. a subsequent setting of 0 locks the agc output at its current level. the agc control loop will be disabled at power-up with the agc output pin giving a 50% duty cycle output. the host microprocessor should set the correct sense for the control loop and enable the agc by setting agc_tc to 2. a subsequent warm or cold reset will not reset either of these parameters. bit 2: this controls the sense of the agc loop. the default value of "0" will give a decreasing control output when the input is overloaded. a value of "1" will give an increasing value. 3-9. equconfig equconfig read/write core address: 0x13 default : 0x03 bit 0: when set this enables a hot reset when the fec block indicates that it has lost lock. this causes the equalizer state machine to resume operation at a point where it can exploit prior knowledge of the received signal format gained whilst the chip was in lock. specifically, a hot reset causes the esm to restore the last values for qam order and spectral inversion used before the fec indicated loss of lock. bit 1: the device will automatically toggle the input spectrum once the equalizer has locked if the fec has not locked. this toggling feature can be disabled by setting this bit. bit 2: set this to invert the spectrum of the input signal. it is not inverted by default. the setting of this bit is dependent upon the frequency plan used in the tuner. bits 3 to 7: reserved 7 reserved 6 5 4 3 2 invert spectrum 1 disable csi 0 hot reset
? 30 CXD1958Q 3-10. symratetrial0 symratetrial0 read/write core address: 0x15 & 0x16 default: 0xaab 7 reserved 6 5 4 3 trial symbol rate 0 2 1 0 7 6 5 4 3 trial symbol rate 0 2 1 0 bits 0 to 7 & 0 to 3: the symratetrial0 ?symratetrial7 registers control the frequencies at which the timing loop attempts to lock. their function depends upon the setting of the discrete search bit (bit 7) in the preconfig register. when disabled (i.e. set to zero) the pre-processor performs a continuous symbol rate search which extends from the frequency specified in symratetrial0 down to that specified in symratetrial1. the search must be performed downwards in frequency and so symratetrial0 defines the high frequency limit of the search range. when discrete search is enabled (i.e. set to one) the pre-processor attempts to synchronize at each of up to 8 discrete frequencies specified in symratetrial0 symratetrial7. in this case symratetrial0 defines the first symbol rate to test. if a discrete rate is set to zero then this causes the search to reset to trial0 and start again. therefore if a known single symbol rate is used then symratetrial0 should be set appropriately and symratetrial1 should be set to zero. for both modes the register setting is given by: symratetrial0 = ?16384 where fsym is the symbol rate and fs is the adc sample rate (nominally 30mhz). the default value of 2731 corresponds to 5msym/s with a 30mhz sample clock. 3-11. symratetrial1 symratetrial1 read/write core address: 0x17 & 0x18 default: 0x0 fsym fs 7 reserved 6 5 4 3 trial symbol rate 1 2 1 0 7 6 5 4 3 trial symbol rate 1 2 1 0 see symratetrial0 register description.
? 31 CXD1958Q 3-12. symratetrial2 symratetrial2 read/write core address: 0x19 & 0x1a default: 0x0 7 reserved 6 5 4 3 trial symbol rate 2 2 1 0 7 6 5 4 3 trial symbol rate 2 2 1 0 see symratetrial0 register description. 3-13. symratetrial3 symratetrial3 read/write core address: 0x1b & 0x1c default: 0x0 7 reserved 6 5 4 3 trial symbol rate 3 2 1 0 7 6 5 4 3 trial symbol rate 3 2 1 0 see symratetrial0 register description. 3-14. symratetrial4 symratetrial4 read/write core address: 0x1d & 0x1e default: 0x0 7 reserved 6 5 4 3 trial symbol rate 4 2 1 0 7 6 5 4 3 trial symbol rate 4 2 1 0 see symratetrial0 register description. 3-15. symratetrial5 symratetrial5 read/write core address: 0x1f & 0x20 default: 0x0 7 reserved 6 5 4 3 trial symbol rate 5 2 1 0 7 6 5 4 3 trial symbol rate 5 2 1 0 see symratetrial0 register description.
? 32 CXD1958Q 3-16. symratetrial6 symratetrial6 read/write core address: 0x21 & 0x22 default: 0x0 7 reserved 6 5 4 3 trial symbol rate 6 2 1 0 7 6 5 4 3 trial symbol rate 6 2 1 0 see symratetrial0 register description. 3-17. symratetrial7 symratetrial7 read/write core address: 0x23 & 0x24 default: 0x0 7 reserved 6 5 4 3 trial symbol rate 7 2 1 0 7 6 5 4 3 trial symbol rate 7 2 1 0 see symratetrial0 register description. 3-18. itbfreq itbfreq read/write core address: 0x29 & 0x2a default: 0x32ef 7 reserved 6 5 4 3 itb downconversion frequency 2 1 0 7 6 5 4 3 itb downconversion frequency 2 1 0 bits 0 to 5 & 0 to 7: nominal frequency of the receive local oscillator, encoded as follows: itbfreq = ?6384 ? where fc is the centre frequency of the if (or alias) and fs is the adc sample rate (nominally 30mhz). the setting of a negative value for itbfreq implies no spectrum inversion, whereas a positive value inverts the spectrum. this register sets the nominal received local oscillator frequency. any frequency offsets are recovered separately within the device and fed back to the local oscillator. the default value of ?345 corresponds to a nominal frequency of 36.125mhz which aliases to 6.125mhz. fc fs
? 33 CXD1958Q 3-19. equtapselect tapselect read/write core address: 0x2b default: 0x00 7 reserved 6 5 tap select 4 3 2 1 0 bits 0 to 5: set this register to select tap number whose values are loaded into the tapi and tapq registers. the feedforward taps are numbered 0 to 9 with the main tap being tap 9. the feedback taps are numbered 10 to 39 with 10 being the first feedback tap. bits 6, 7: reserved 3-20. equtapi tapreal read core address: 0x2c default: 0x00 7 tap value (in-phase) 6 5 4 3 2 1 0 7 tap value (in-phase) 6 5 4 3 2 1 0 bits 0 to 7: contains the real (in-phase) component of the equalizer tap specified by the tapselect register. this must be read before the equtapq register. 3-21. equtapq tapquad read core address: 0x2d default: 0x00 bits 0 to 7: contains the imaginary (quadrature-phase) component of the equalizer tap specified by the tapselect register. the process of reading this register automatically loads the next tap values into the equtapi and equtapq registers (i.e. the tapselect register need only be set once to obtain all the tap values).
? 34 CXD1958Q 3-22. constellationi constellationi read core address: 0x2e default: 0x00 7 equalizer constellation output (in-phase) 6 5 4 3 2 1 0 bbus its 0 to 7: contains the real (in-phase) component of the equalizer output before the decision device. due to the speed limitations of the i 2 c bus this data is not continuous but is a sub-sampled version of the equalizer output. even so, because of the random nature of the data, a constellation plot can still be formed from this data. 3-23. constellationq constellationq read core address: 0x2f default: 0x00 7 equalizer constellation output (quadrature-phase) 6 5 4 3 2 1 0 bits 0 to 7: contains the imaginary (quadrature-phase) component of the equalizer output before the decision device. due to the speed limitations of the i 2 c bus this data is not continuous but is a sub-sampled version of the equalizer output. even so, because of the random nature of the data, a constellation plot can still be formed from this data. 3-24. agcifintg agcifintg read core address: 0x30 & 0x31 default: 0x0 7 agc integrator 6 5 4 3 agc integrator 2 1 0 7 6 5 4 3 reserved 2 1 0 bits 0 to 7 & 6 to 7: contains the setting of the if external agc integrator. note that the data format allows a single byte read if 8-bit resolution is sufficient. it is expected that the agc range will be approximately 80db, hence 8 bits should give better than 0.5db resolution.
? 35 CXD1958Q 3-25. rfagc rfagc read/write core address: 0x32 & 0x33 default: 0x0 7 rfagc integrator 6 5 4 3 rfagc integrator 2 1 0 7 6 5 4 3 reserved 2 1 0 bits 0 to 7 & 6 to 7: allows setting of an rf external agc level to the rf agc pwm output. note that the rf agc is simply a register controlled pwm output and not a feedback loop. it is intended that the host software should monitor the agcifintg register and manually set the rfagc to optimize system performance. note that the data format allows a single byte write if 8 bit resolution is sufficient. 3-26. snrestimate snrestimate read core address: 0x3a default: 0x00 7 snr estimate 6 5 4 3 2 1 0 bits 0 to 7: once the equalizer has locked this register contains a value from which the channel snr can be estimated. the register value is based upon a moving average of the mse of the constellation. the equation below shows the relation between the register value and the snro at the output of the equalizer. the estimate can be improved by averaging the contents of this register. snro = ?.5ln [ ] 3-27. lmsmutrack lmsmutrack read/write core address: 0x3b default: 0x03 sn re stimate 760 7 reserved 6 5 4 3 2 1 dde mu 0 bits 0, 1: sets the adaption constant of the equalizer during dde and trk states. a value of zero gives the largest adaption constant and tracks fast changes in the channel at the expense of steady-state behaviour whilst a value of three gives the lowest steady-state loss at the expense of dynamic tracking capability. even the default value of 3 gives significant tracking capability. bits 2 to 7: reserved
? 36 CXD1958Q 3-28. sweeprng sweeprng read/write core address: 0x3c default: 0x80 7 carrier recovery loop sweep range 6 5 4 3 2 1 0 bits 0 to 7: sets the maximum frequency offset (positive and negative) over which the device acquires. the offset is twice the register value so, for example, the default value of 128 allows frequency offsets of 256khz to be acquired. 3-29. chip_info chip_info read core address: 0x00 default: 0x20 7 mmds version 6 5 4 major revision number 3 2 1 minor revision number 0 holds the revision information for the mmds. will always return 0x20. 3-30. rst_reg rst_reg read/write core address: 0x01 default: 0xf4 7 adc rst 6 pre rst 5 equ rst 4 fec rst 3 reserved 2 hard 1 cold 0 warm adc rst (bit 7) x adc rst adc rst pre rst (bit 6) x pre rst pre rst equ rst (bit 5) x equ rst equ rst fec rst (bit 4) x fec rst fec rst (bit 3) x x x hard (bit 2) x x x cold (bit 1) 0 0 1 warm (bit 0) 0 1 x meaning clear register warm reset cold reset a hardware reset will occur when the resetn pin to the ic is driven active. the rst_reg register shall record this action by setting the hard flag to denote that a hardware reset has occurred. in a typical application rst_reg may be polled by a microprocessor via the i 2 c bus in order to detect whether a hardware reset has occurred. once detected, the hard flag may be reset via the i 2 c bus by writing 0x00 to the rst_reg. the microprocessor may also invoke two additional types of software reset (designated cold and warm) by writing directly to the rst_reg register as defined below.
? 37 CXD1958Q rst_reg in write mode the target blocks for the reset are specified via bits 4 to 7. to reset a block the appropriate bit must be set to 1. for example, writing 1001xx10b to rst_reg would initiate a cold reset to the adc and fec blocks. note that, as before, a write of 0x00 will clear the register. when the register has been written to, the appropriate reset signals shall be generated. cold or warm resets are terminated by writing to the rst_reg to clear the associated bit. note that bit 2 is unaffected by a software reset, and will remain 0, unless a separate reset occurred in the interim. 3-31. interrupt_source interrupt_source read core address: 0x02 default: 0x01 7 reserved 6 es_src 5 ts_err_ src 4 llck_ flag_src 3 ts_lock_ flag_src 2 eqm_lck_ src 1 pre_lck_ src 0 agc_lck_ src when the mmds signals an interrupt by driving the intrptn pin low, a bit in the interrupt source register will be set to indicate the source of the interrupt. the expected system operation will be for the stb cpu to read this register to determine the interrupt source, clear the equivalent bit in the mask register so that another interrupt is not immediately re-flagged, and then clear the source register by writing 0x00 to it. when not in auto-clear mode (see "description of functions 3-6") this will result in the mmds releasing the open-drain intrptn pin, allowing it to be pulled high by an external resistor. the possible interrupt sources are: es_src: errored second detected. when 1 or more 204-byte packet is uncorrectable in a second (due to more than 8 errored bytes) an errored second is flagged. ts_err_src: transport stream error detected. when a 204-byte packet is output with errors (due to more than 8 errored bytes) the transport error indicator in the 4-byte mpeg2 header is set and the tserr output is driven. llck_flag_src: lost lock. when transport stream lock has been achieved, but is then subsequently lost due to n dropped sync bytes (where n is programmable in set_sync_detect). ts_lock_src: transport stream lock. valid mpeg2 data has started being output from the mmds. eqm_lck_src: equalizer lock. the equalizer is in tracking mode. pre_lck_src: pre-processor lock. the pre-processor is in tracking mode. agc_lck_src: agc lock. the external gain control loop has converged with the input signal in the correct range. note that this register must be cleared for intrptn to be released when not in auto-clear mode.
? 38 CXD1958Q 3-32. fec_status fec_status read core address: 0x05 default: 0x10 7 severely errored second 6 errored second 5 lck_flag 4 llck_flag 3 ts_lock 2 new_ errored_ second 1 tcm_lock 0 tcm_ sync_ error this register reflects the current status of the fec. during normal operation this should return 0x28 to indicate both lock and transport stream lock. note that the initial value is 0x10 to indicate that lock is lost ?or in fact not yet gained. severely errored second: severely errored second detected. when n or more 204-byte packets are uncorrectable in a second (due to more than 8 errored bytes, with n programmable in lt_qlty_threshold) an errored second is flagged. errored second: errored second detected. when 1 or more 204-byte packet is uncorrectable in a second (due to more than 8 errored bytes) an errored second is flagged. lck_flag: lock gained. when n sync bytes have been detected (where n is programmable in set_sync_detect). llck_flag: lost lock. when transport stream lock has been achieved, but is then subsequently lost due to n dropped sync bytes (where n is programmable in set_sync_detect). ts_lock: transport stream lock. valid mpeg2 data has started being output from the mmds. new_errored_second: this bit is high when the errored second and severely errored second values have been updated and not yet read. after fec_status has been read, this bit will return to zero until the values are next updated. the cwrjct_count register is updated over the same period as the errored seconds, so new_errored_ second could also be polled to determine when cwrjct_count holds a new value. tcm_lock: tcm symbol synchronization lock. this bit is high when tcm symbol synchronization is achieved. tcm_sync_error: this bit is set when the tcm symbol synchronization cannot lock in the current channel conditions.
? 39 CXD1958Q 3-33. ber_est ber_est read core address: 0x0b & 0x0c & 0x0d default: 0x00 7 new_ estimate 6 reserved 5 4 overflow 3 2 1 0 bit error estimate 7 bit error estimate 6 5 4 3 2 1 0 7 6 5 4 3 bit error estimate 2 1 0 7 codeword reject count 6 5 4 3 2 1 0 7 6 5 4 3 codeword reject count 2 1 0 this register is big endian, with the msbyte at address 0x0b and the lsbyte at address 0x0d. the msbyte actually contains the top nibble of the ber value, together with a new_estimate flag. this flag is set at the end of the ber measurement period, to indicate that an unread ber value is in the register. it is reset after a read to the register has been performed to indicate that the ber value has been read. the ber value is either an estimate, or measurement depending upon the setting in the fec_params register. if more than 2097151 errors have been seen in the measurement period then the overflow flag will be set to indicate that the ber_est reading is invalid. to prevent an overflow, the user should decrease the value in the ber_est_period register. 3-34. cwrjct_cnt cwrjct_cnt read core address: 0x0e & 0x0f default: 0x00 cwrjct_cnt stands for codeword reject count. a codeword is one 204-byte packet. if such a packet contains more than 8 byte errors, the reed solomon will be unable to correct it successfully, and this is termed a rejected codeword. therefore this register returns the count of rejected codewords in one second. it is intended that this register may be accessed when a severely errored second is flagged, if additional information is required regarding the degree of the severity. this register is big endian, with the msbyte at address 0x0e and the lsbyte at address 0x0f.
? 40 CXD1958Q 3-35. interrupt_mask interrupt_mask read/write core address: 0x10 default: 0x00 7 auto_clr 6 es_msk 5 ts_err_ msk 4 llck_ flag_msk 3 ts_lock_ flag_msk 2 eqm_lck_ msk 1 pre_lck_ msk 0 agc_lck_ msk this register should be programmed by setting the bit corresponding to each required interrupt source. it defaults to 0x00, so no conditions will signal an interrupt. if one or more of the bits are set, then when that condition occurs, an interrupt will be by driving the intrptn pin low. with auto_clr turned off once an interrupt has been signalled, the bit corresponding to the interrupt source in interrupt_mask must be reset to prevent an interrupt being continually signalled. once this has been done, the interrupt_source register can also be reset to release the open-drain intrptn pin, allowing it to be pulled high by an external resistor. with auto_clr turned on, when an interrupt occurs the intrptn pin goes low for 4 clocks (133ns) and then returns high. the source of the interrupt is latched in the interrupt_source register, and the intrptn pin will go low again each time the interrupt occurs. by this method, for example, an exact count of lock losses, errored seconds or transport stream errors could be gained. also acquisition times can be easily measured by interrupting on agc_lck_msk and ts_lock_msk with auto_clr on. the possible interrupt sources are: es_msk: errored second detected. when 1 or more 204-byte packet is uncorrectable in a second (due to more than 8 errored bytes) an errored second is flagged. ts_err_msk: transport stream error detected. when a 204-byte packet is output with errors (due to more than 8 errored bytes) the transport error indicator in the 4-byte mpeg2 header is set and the tserr output is driven. llck_flag_msk: lost lock. when transport stream lock has been achieved, but is then subsequently lost due to n dropped sync bytes (where n is programmable in set_sync_detect). ts_lock_msk: transport stream lock. valid mpeg2 data has started being output from the mmds. eqm_lck_msk: equalizer lock. the equalizer is in tracking mode. pre_lck_msk: pre-processor lock. the pre-processor is in tracking mode. agc_lck_msk: agc lock. the external gain control loop has converged with the input signal in the correct range. note that if the bit corresponding to the interrupt condition is not reset in this register and just the interrupt_source register is written to (to clear the interrupt), the intrptn pin will not trigger an addition interrupt if the interrupt condition is no longer true. for example, if an interrupt were configured by setting the llck_flag_ msk bit, a lost lock condition would be signalled via an interrupt. the interrupt could be cleared by writing to the llck_flag_ src bit in the interrupt_source register, and in the meantime if the mmds had regained lock , the interrupt condition would no longer be true and the intrptn pin would remain open-drain.
? 41 CXD1958Q 3-36. fec_params fec_params read/write core address: 0x14 default: 0x32 7 reserved 6 5 ts_clk_ posedge_ latching 4 ts_lock_ active_hi 3 no_deep_ deint 2 measure ment_ select 1 tri_ state_ outputs 0 rs_ disable ts_clk_posedge_latching: defaults to one, which strobes tsclk such that tsdata should be latched on its positive edge by any logic interfacing to the mmds. when zero, tsdata should be latched on the negative edge of tsclk. no_deep_deint: when this bit is set, it prevents a de-interleave depth of i=204 on 256qam or tcm. a de-interleave depth of i = 12 is used instead. measurement_select: when this bit is set, the mmds will be configured to measure the ber, assuming that etsi standard null packets are being transmitted. when set, the rs_disable bit must be set to enable pre reed solomon ber measurements to be made or the rs_disable bit must be cleared to enable post reed solomon ber measurements to be made. when reset, the mmds will estimate the ber by measuring the number of bit corrections which the reed solomon makes. note that although termed an estimate, this value should be very accurate until the ber rises to 10 ? , where the limits of the reed solomon are neared. tri_state_outputs: when this bit is set, all the transport stream pins, tsvalid, tssync, tserr, tscorr and tsdata will go tristate. this is the default reset condition for the mmds so that in a combined dvb-c / dvb-s or dvb-t system, the transport stream outputs may be simply wired together thereby eliminating the need for any off- chip tri-state buffers. rs_disable: when this bit is set the reed solomon decoder is disabled, so that the transport stream data retains any errors. this bit must be set if the measurement_select bit is set to enable ber measurement. when reset the reed solomon decoder corrects errors.
? 42 CXD1958Q 3-37. set_sync_detect set_sync_detect read/write core address: 0x25 default: 0x1d 7 sync_ cntr_ mode 6 tssync_ cntr_ mode 5 sync_loss_ladder_length 4 3 2 sync_ladder_length 1 0 all the bits in this register are used to control the lock and lost lock mechanisms in the mmds fec. there are two stages of fec lock: lock and tslock. lock indicates sync byte lock. the fec hunts for either the mpeg2 sync byte (0x47) or inverted sync byte (0xb8) in the received byte stream. once either is detected, a search is started 204 bytes later for the next one. every time a sync byte or inverted sync byte is successfully detected 204 bytes from the previous one a count is incremented. if neither a sync byte nor an inverted sync byte are detected when expected the count is either decremented or reset to zero. the former mode of operation is termed up/down and the latter reset. tslock indicates transport stream lock. this occurs using a similar mechanism to that described above, except the tslock logic operates upon the post error-corrected data. this ensures that the lock mechanism, and more importantly the lost-lock mechanism gains the benefit of operating on data with a lower ber. this enables the mmds to remain in lock under conditions where otherwise despite the reed solomon being able to successfully correct errors, lock is lost due to errored sync bytes. the lock and tslock logic searches for n consecutive sync or inverted sync bytes where n is given by : n = sync_ladder_length ?sync_loss_ladder_length. sync_cntr_mode: when this bit is set, the lock logic operates in up/down mode. when reset it operates in reset mode. ts_sync_cntr_mode: when this bit is set, the tslock logic operates in up/down mode. when reset it operates in reset mode. sync_loss_ladder_length[2:0]: by varying sync_loss_ladder_length, losing sync lock can be made easier (sync_ladder_ length-1) or harder (small value). sync_loss_ladder_ length must have a value less than sync_ladder_length. sync_ladder_length[2:0]: by varying sync_ladder_length, sync lock can be made easier (small value) or harder (large value) to achieve. sync_ladder_length must have a minimum value of 2.
? 43 CXD1958Q 3-38. lt_qlty_threshold lt_qlty_threshold read/write core address: 0x26 default: 0x04 7 long term quality threshold 6 5 4 3 2 1 0 7 ber estimation measurement period reserved 6 5 4 3 2 1 0 the mmds retains a count of the number of codewords rejected by the reed solomon in one second (where a codeword is one 204-byte packet). this count is compared to the value in lt_qlty_threshold and if it exceeds it, a severely errored second is flagged. the default value is one. 3-39. ber_est_period ber_est_period read/write core address: 0x27 default: 0x0e ber_est_period sets the ber estimation/measurement period, governed by the equation: estimation/measurement period = 2 ber_est_period 204-byte packets note that the internal counter supports values of between 0x01 and 0x1f to yield a measurement period between 1 and 2 10 9 204-byte packets. over the range of qam levels and data rates this results in a maximum measurement period of 22 hours (256qam, 7mbaud). the default is 0x0e, which is 16000 packets. 3-40. tuner_ctl tuner_ctl read/write core address: 0x34 to 0x37 default: 0x00000000 7 sdata[15:8] 6 5 4 3 mode send sel sen_ pol sdata[27:24] sdata[23:16] 2 1 0 7 6 5 4 3 sdata[7:0] 2 1 0 mode: this selects the source of control data for the tuner interface. if mode=0 the data driven over the tuner interface is sourced from the cpu interface pins tclk, tdata, ten, twr_n. this is the default mode after reset. if mode = 1 sdata in the tuner_ctrl register is transmitted over the tuner interface. send: when this bit is set the sdata transmission over the tuner interface is initiated. this bit is cleared when the transmission terminates.
? 44 CXD1958Q sel: this bit selects the active tuner pll pin. if sel = 0 transmission is active using the sel0 pin. if sel = 1 transmission is active using the sel1 pin. sen_pol: this bit selects the polarity of the sen outputs. if sen_pol = 0 the sen outputs are active low. if sen_pol = 0 the sen outputs are active high. sdata[27:0]: holds data for transmission over the tuner interface. when the tuner interface is controlled via the cpu pins, during reset the active channel sen output is low and thereafter it follows the ten cpu input pin. the inactive channel sen is set to its inactive state during reset according to the polarity selection of sen_pol. when the tuner interface is controlled via the i 2 c bus send control both the active and inactive sen pins are driven according to the sen_pol control. 3-41. tcm_config tcm_config read/write core address: 0x38 default: 0xab 7 tcm_ enable 6 reserved 5 fec_ auto_lock 4 reserved 3 equalizer state threshold 2 1 0 tcm_enable: this control is used to select between qam decoding and tcm decoding. when set tcm decoding is enabled. fec_auto_lock: this control, if set, enables the fec lock status to automatically control re-acquisition in the equalizer. if this bit is not set re-acquisition in the equalizer is controlled by software reset. equ_state_thres: this controls when the tcm decoder starts its synchronization to tcm symbols. this control can be programmed to one of the equivalent states in the esm_status register. when programmed to an equivalent state of the equalizer the tcm decode starts synchronizing when the equalizer reaches that state. if a state is programmed in this control which does not exist in the equalizer the tcm decoder will not synchronize to the input data and no fec lock can be achieved.
? 45 CXD1958Q 3-42. ts_mode ts_mode read/write core address: 0x39 default: 0xb4 7 tsvalid_ active_hi 6 tssync_ active_hi 5 tserr_ active_hi 4 output_ sel_msb 3 tsvalid_ pulse 2 tserr_ pulse 1 tserr_ full 0 tsclk_ full tsvalid_active_hi: when this bit is set, the tsvalid pin will function in active high mode. when reset, it will be active low. tssync_active_hi: when this bit is set, the tssync pin will function in active high mode. when reset, it will be active low. tserr_active_hi: when this bit is set, the tserr pin will function in active high mode. when reset, it will be active low. output_sel_msb: when this bit is set, the msb for the tsdata output will be tsdata[7]. when reset, the tsdata output msb will be tsdata[0]. tsvalid_pulse: determines whether the tsvalid signal is pulsed or constant. pulsed when set. tserr_pulse: determines whether the tserr signal is pulsed or constant. pulsed when set. tserr_full: determines whether the tserr signal is valid for 204 bytes or for 188 bytes. valid only when tserr_pulse is not set. valid for 204 bytes when set. tsclk_full: determines whether the tsclk signal is valid for 204 bytes or 188 bytes. valid for 204 bytes when set. 3-43. agctgt agctgt read/write expert address: 0x83 default: 0x69 7 agc target level 6 5 4 3 2 1 0 bits 0 to 7: sets the target signal level used by the external gain control (agc) loop. it sets the required mean level of the input if signal which corresponds to approximately the peak to peak range in bits divided by 8. an agc_tgt setting of 128 corresponds with the onset of clipping when a 256 qam signal is applied to the 10-bit input. the gain control loop is deemed to have settled when the integrated magnitude error falls below a threshold value for a period greater than 136ms. the status of the loop is indicated by the agclock flag in the tsm_status register. the default value of 105 corresponds to the pk-pk value approximately 3db below full scale on the adc in a clear channel. this margin is required to cope with the increased peak to mean signal levels in a multipath channel.
? 46 CXD1958Q application circuit diagrams the following circuit diagrams show examples of how to interface to the CXD1958Q. fig. 12 shows a typical circuit configuration where the tuner section is controlled via i 2 c bus. t s e r r t s s y n c t s d i s a b l e t s l o c k d v d d 5 v s d a s c l d v s s i n t r p t n a 0 a 1 s c l s d a t r s t x t a l i x t a l o t c k t m s t d o t d i t c l k t d a t a t e n t w r _ n d t [ 0 : 9 ] t s v a l i d t s c l k t s d a t a d v s s 3 0 m h z a v s s a v s s l p f l p f a g c s a w f i l t e r t u n e r m o d u l e i f = 3 6 . 1 2 5 m h z o p t i o n a l e x t e r n a l r f a g c l o o p v r t s v r t v r b v r b s r f a g c v i n r e s e t n r e s e t c o n t r o l x a g c j t a g c o n t r o l d v s s h o s t c p u i 2 c s y n t h c a b l e c x d 1 9 5 8 q fig. 12. typical circuit for CXD1958Q if the tuner is controlled via i 2 c bus it is preferable to prevent general i 2 c bus traffic from reaching the tuner and only allow tuner specific commands to pass to the tuner. this can be done using the sen0 pin, which is programmable via i 2 c bus by writing to the sel bit in the tuner_ctl register. the sen0 pin is then used as a pass-fet control signal thereby isolating the i 2 c bus traffic from the tuner when not required by the tuner. fig. 13 shows the connectivity of the tuner when using sen0 as pass-fet control. the tuner can also be controlled via 3-wire bus. in this case there are two modes in which the 3-wire bus pins can be controlled. the first is to set the 3-wire bus outputs via the host cpu control lines (twr_n, ten, tclk and tdata). the second is to set the 3-wire bus outputs via i 2 c bus. selection of these two modes is done via the tuner_ctl register (see "control register definitions" 3-40. tuner_ctl). fig. 14 shows the connectivity of the tuner using 3-wire bus pins.
? 47 CXD1958Q 5 v s d a s e n 0 s c l d v s s a 0 a 1 l p f l p f s a w f i l t e r t u n e r m o d u l e r f a g c v i n a g c h o s t c p u 5 v s y n t h i 2 c i f = 3 6 . 1 2 5 m h z c a b l e s g d s g d c x d 1 9 5 8 q o p t i o n a l e x t e r n a l r f a f c l o o p 5 v fig. 13. interface to tuner using sen0 as pass-fet control 5 v s d a s c l d v s s a 0 a 1 t d a t a t c l k t e n t w r _ n l p f l p f s a w f i l t e r t u n e r m o d u l e s e n 1 o p t i o n a l e n a b l e f o r 2 n d p l l s y n t h s c l k s d a t a s e n 0 r f a g c v i n a g c h o s t c p u 3 - w i r e i n t e r f a c e s y n t h i f = 3 6 . 1 2 5 m h z c a b l e c x d 1 9 5 8 q fig. 14. 3-wire bus interface to tuner
? 48 CXD1958Q package outline unit: mm s o n y c o d e e i a j c o d e j e d e c c o d e p a c k a g e m a t e r i a l l e a d t r e a t m e n t l e a d m a t e r i a l p a c k a g e m a s s e p o x y r e s i n s o l d e r p l a t i n g 4 2 / c o p p e r a l l o y p a c k a g e s t r u c t u r e 2 3 . 9 0 . 4 q f p - 1 0 0 p - l 0 1 1 0 0 p i n q f p ( p l a s t i c ) 2 0 . 0 0 . 1 + 0 . 4 0 . 1 5 0 . 0 5 + 0 . 1 1 5 . 8 0 . 4 1 7 . 9 0 . 4 1 4 . 0 0 . 1 + 0 . 4 2 . 7 5 0 . 1 5 + 0 . 3 5 a 0 . 6 5 m 0 . 1 3 q f p 1 0 0 - p - 1 4 2 0 1 . 7 g 1 1 0 0 8 1 8 0 5 1 5 0 3 1 3 0 0 . 3 0 . 1 + 0 . 1 5 d e t a i l a 0 t o 1 0 0 . 8 0 . 2 ( 1 6 . 3 ) 0 . 1 5 0 . 1 0 . 0 5 + 0 . 2


▲Up To Search▲   

 
Price & Availability of CXD1958Q

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X